07. Exercise: Create the Contract
Creating The Contract
During this exercise, you'll set up your own contract to connect your waitlist app to an SQL database.
Exercise Code
Exercise: T07.01-Exercise-CreateAContract
Try it out yourself
SOLUTION:
- Create an inner class called WaitlistEntry that implements BaseColumns
- Declare a constant String for the table name
- Declare constant Strings for each of the table columns